import java.awt.Color;
import java.awt.Dimension;
import java.awt.GridLayout;

import javax.swing.BorderFactory;
import javax.swing.JFrame;
import javax.swing.JPanel;


public class Map3 extends JPanel {
	
	private GridLayout grid;
	
	public Map3() {
		initComponents();
	}
	
	private void initComponents() {
		grid = new GridLayout(10,10);
		this.setLayout(grid);
		for(int r = 0; r < 10; r++) {
			for(int c = 0; c < 10; c++) {
				final JPanel jp = new JPanel();
				jp.setSize(50,50);
				if((r == 9 && (c == 0 || c == 9)) || (r == 0 && c == 5))
					jp.setBackground(Color.BLACK); //these are the potential starting positions
				else
					jp.setBackground(Color.GREEN);
				jp.setBorder(BorderFactory.createMatteBorder(1,1,1,1,Color.BLACK));
				add(jp);
			}
		}
		setVisible(true);
	}
	
	private void addMapOutline() {
		// adds/sets disabled Territories on the Map
	}
}
